]> dgit.raspbian.org Git - gnome-shell.git/commit
dash: Make sure _clearDragPlaceholder() resets _dragPlaceholderPos
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 31 May 2013 15:47:48 +0000 (17:47 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 5 Jun 2013 13:32:43 +0000 (15:32 +0200)
commit4b95be6a95cbbb61ad4dc2d25a6695e44c2c8b73
treeb879684f0a440a1b2dd47196e8456671db9a06b4
parent61323926e0941219b2cef1645518a62621d552d8
dash: Make sure _clearDragPlaceholder() resets _dragPlaceholderPos

The function currently only resets the placeholder position if
there is a placeholder; this is not necessarily true, as the
placeholder may be reset outside _clearDragPlaceholder().
If this happens, the placeholder will temporarily stop working
for the "old" position (and permanently if it's the only position).
Just reset the position unconditionally.

https://bugzilla.gnome.org/show_bug.cgi?id=684618
js/ui/dash.js